<form id="bentryForm"   method="post"  enctype="multipart/form-data">
				
				<table border="0"  style=" width: 100%">
					<tr>
						<td></td>
						<td align="right" style="font-weight: bold;">日期:</td>
						<td>
							<input  id="date_input" type="text"  style="width: 110px;"  readonly="true" /> 
						</td>
						<td align="right" style="font-weight: bold;">NO111:</td>
						<td>
							<input id="number" type="text" name="customer.hybh" style="width: 110px;color: red;font-size: 14px" value="${customer.hybh !}" readonly="true" />
						</td>
					</tr>
					<tr >
						<td align="right" >姓名</td>
						<td style=" width: 180px">
							<input id="customerIds" name="customerIds" type="hidden" value="${customer.ids! }"/>
							<input id="customerName" name="customer.name" class="easyui-textbox inputBox theme-textbox-radius"   readonly="true"  style="width: 150px;" value="${customer.name! }">
						</td>
						<td align="right">性别</td>
						<td>
								<input name="customer.sex" class="easyui-textbox theme-textbox-radius"  readonly="true" style="width: 150px;" value="${customer.sex! }">
						</td>
						<td align="right">手机号码</td>
						<td>
							<input id="customerPhone" name="customer.phone" class="easyui-textbox theme-textbox-radius"   readonly="true" style="width: 150px;" value="${customer.phone! }">
						</td>
					</tr>
					<tr>
						<td align="right">年龄</td>
						<td>
							<input name="customer.age" class="easyui-textbox theme-textbox-radius"  readonly="true"  value="${customer.age! }" style="width: 150px;" data-options="increment:1,label:'岁'" labelPosition="after">
						</td>
						<td align="right">身高</td>
						<td style="width: 125px;">
							<input name="customerDetail.height" class="easyui-textbox theme-textbox-radius"   readonly="true"  value="${customer.customerDetail.height! }" style="width: 149px;" data-options="increment:1,label:'cm'" labelPosition="after">
						</td>
						<td align="right">体重</td>
						<td width="200px" >
							<input name="customerDetail.firstWeight"  class="easyui-textbox theme-textbox-radius"  readonly="true"  value="${customer.customerDetail.firstWeight! }" style="width: 150px;" data-options="increment:1,label:'斤'" labelPosition="after">
						</td>
					</tr>
					
					<tr>
						<td align="right">应减斤数</td>
						<td>
							<input id="delWeight" name="delWeight" readonly="true" class="easyui-textbox theme-textbox-radius"   style="width: 150px;" value="${customer.customerDetail.delWeight !}">
						</td>
						<td align="right" >疗程数</td>
						<td>
							<input id="sjtreatment" readonly="true"  name="customerDetail.sjtreatment" readonly="true"   class="easyui-textbox theme-textbox-radius" style="width: 150px;" value="${customer.customerDetail.sjtreatment !}">
						</td>
					</tr>
					<tr>
						<td align="right">身份证号</td>
						<td>
							<input name="customer.sfzmhm" class="easyui-textbox theme-textbox-radius"   style="width: 150px;" value="${customer.sfzmhm! }">
						</td>
						<td align="right">生日</td>
						<td>
							<input name="customerDetail.birth" class="easyui-datebox theme-textbox-radius" style="width: 150px;" data-options="sharedCalendar:'#cc'" value="${customer.customerDetail.birth! }">
						</td>
						<td align="right">职业</td>
						<td>
							<input name="customerDetail.job" class="easyui-textbox theme-textbox-radius"  style="width: 150px;"  value="${customer.customerDetail.job! }">
						</td>
					</tr>
					<div id="cc" class="easyui-calendar"></div>
					
					<tr>
						
						<td align="right" width="150px">购买疗程</td>
						<td>	
								<select class="easyui-combobox theme-textbox-radius" name="customerAgreement.codeIds" style="width: 150px;" id="areacodeIds" >
									<%for( p in product){%>
										 <%if(customer.customerAgreement.codeIds=='27aeb2d41d044394b9b58f6814baa4fa'){%>
									     	<%if(p.ids!='0896ce4d4970455d9184e6dd1ced6a0e'){%>
									    		<%if(p.ids==customer.customerAgreement.codeIds){%>
									   				<option value='${p.ids! }' id='${p.ids! }'  selected="selected" >${p.name! }</option>  
									    		<%}else{%>
									    		 	<option value='${p.ids! }' id='${p.ids! }'  >${p.name! }</option>  
									     		<%}%>
									     	<%}%>
									     <%}else if(customer.customerAgreement.codeIds=='0896ce4d4970455d9184e6dd1ced6a0e'){%>
									     	<%if(p.ids!='27aeb2d41d044394b9b58f6814baa4fa'){%>
									    		<%if(p.ids==customer.customerAgreement.codeIds){%>
									   				 <option value='${p.ids! }' id='${p.ids! }'  selected="selected" >${p.name! }</option>  
									    		<%}else{%>
									    		 	<option value='${p.ids! }' id='${p.ids! }'  >${p.name! }</option>  
									     		<%}%>
									     	<%}%>
									     <%}else{%>
									     		<%if(p.ids==customer.customerAgreement.codeIds){%>
									   				 <option value='${p.ids! }' id='${p.ids! }'  selected="selected" >${p.name! }</option>  
									    		<%}else{%>
									    		 	<option value='${p.ids! }' id='${p.ids! }'  >${p.name! }</option>  
									     		<%}%>
									     <%}%>
									<%}%>
									<option  value='0'  >塑性</option>  
								</select>
						</td>
						<td align="right" >购买疗程数</td>
						<td>
							<input id="cusAgree_treatment" name="customerAgreement.treatment" readonly="true"   class="easyui-textbox theme-textbox-radius" style="width: 150px;" value="${customer.customerAgreement.treatment !}">
						</td>
						<td align="right" >消费金额</td>
						<td>
							<input id="cusAgree_cost" name="customerAgreement.cost" readonly="true"   class="easyui-textbox theme-textbox-radius" style="width: 150px;" value="${customer.customerAgreement.cost !}">
						</td>
					</tr>
					<tr>
						
						<td align="right">进店方式</td>
						<td>
							<input id="jdfs_Cus"  readonly="true" class="easyui-textbox theme-textbox-radius"  style="width: 150px;" value="${customer.customerDetail.code.name !}">
						</td>
						<td align="right">负责人</td>
						<td>
							<#organization type="select" id="fzr" name="customerDetail.chargePersion"  defaultCode="${customer.customerDetail.chargePersion !}"   class="easyui-combobox inputBox theme-textbox-radius" organization="${organids! }" style="width:150px;"/>
						</td>
					</tr>
					<tr  id="introduce" class="introduce" style="display: none;">
						<td align="right">介绍人姓名</td>
						<td>
							<input  readonly="true"  class="easyui-textbox theme-textbox-radius"  style="width: 150px;" value="${customer.customerDetail.jsrname! }">
						</td>
						<td align="right">介绍人手机号</td>
						<td>
							<input readonly="true"  class="easyui-textbox theme-textbox-radius" style="width: 150px;"  value="${customer.customerDetail.jsrphone! }"">
						</td>
						<td align="right">介绍人门店</td>
						<td>
								<input  readonly="true"  class="easyui-textbox theme-textbox-radius" style="width: 150px;" value="${customer.customerDetail.jsrStore! }">
						</td>
					</tr>
					<tr>
						<td align="right">联系住址</td>
						<td colspan="5">
							 <#code type="select" id="xzqh_select" name="customerDetail.provice" code="code_xzqh" defaultCode="${customer.customerDetail.provice! }"  class="easyui-combobox inputBox theme-textbox-radius" />
								<input id="city_input" type="hidden" value="${customer.customerDetail.city !}">
								<input id="city_combobox" name="customerDetail.city" class="easyui-combobox inputBox theme-textbox-radius" />
								<input id="area_input" type="hidden" value="${customer.customerDetail.area !}">
								<input id="area_combobox" name="customerDetail.area" class="easyui-combobox inputBox theme-textbox-radius" />
								<input class="easyui-textbox theme-textbox-radius" name="customerDetail.address" style="width: 140px;" value="${customer.customerDetail.address !}">
						</td>
					</tr>
					<tr>
						<td align="right">
							<a href="#" class="easyui-linkbutton" style="background: #00A65A;color: white;" onclick="chakan(1)">查看</a>
						</td>
						<td colspan="2">	
							<input id="zmfile"  name="zmfile"  class="easyui-filebox theme-textbox-radius"  onchange="imagePreview(this,1)"  style="width:250px" data-options="buttonText:'正面上传照',prompt:'请选择文件...'">					
						</td>	
							
						<td colspan="3" align="right">	
								<a href="#" class="easyui-linkbutton" style="background: #00A65A;color: white;" onclick="chakan(2)">查看</a>					
							<input id="cmfile"  name="cmfile" class="easyui-filebox theme-textbox-radius" onchange="imagePreview(this,2)" style="width:250px" data-options="buttonText:'侧面上传照',prompt:'请选择文件...'">		
						</td>
						
					</tr>
					<tr>
						<td style="height: 25px;"></td><td style="height: 25px;"></td>
						<td style="height: 25px;"></td><td style="height: 25px;"></td>
						<td style="height: 25px;"></td>
					</tr>
				</table>
			</form>